-
Notifications
You must be signed in to change notification settings - Fork 177
Add unit test coverage reporting #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
cfb2b3b to
31b589d
Compare
|
Do we want to add this ? |
I thought it could serve as a reminder to include tests for future contributions |
That's a good point, but given how some stuff cannot be unit tested i wonder if it won't make people try to write test and us having to ask to remove them and having to explain this everytime. Or maybe it won't have any effect, the changeset bot as been there for a while and almost no PR contains a changeset 😂 Btw i've checked it doesn't work right now because the GH action don't have the permission to write PR |
31b589d to
f473b4a
Compare
f473b4a to
e143515
Compare
I noticed that too. I set the permissions in the workflow file but I'm guessing it's related to my permissions on this repository. I tested it out on my fork and it works as expected: socsieng#1 (comment) It might work for subsequent pull requests after merge... 🤞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey sorry I missed the ping here. LGTM Thanks!
The coverage report is nice but we shouldn't get too discouraged by the coverage numbers. 100% coverage is a trap!
|
We can merge and figure out the permissions issues if there are any. |
Example output: https://github.com/opennextjs/opennextjs-aws/actions/runs/11415198269#summary-31764988744